Skip to contentSkip to conversation

Are provoded libdrm packages completely open source?

Bug 110961 [email protected] 1 participant 9 messages Jun 22, 2019 – Aug 1, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110961

Bug ID: 110961
Summary: Are provoded libdrm packages completely open source?
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu-pro
Assignee: [email protected]
Reporter: [email protected]

19.20-812932 release for Ubuntu

Provided libdrm related packages have MIT licence. But are they built completely from open source? In the changelog I can see that it is some amd-mainline-hybrid-master20190125. And actually if I omit these packages while using proprietay OpenGL, applications crashes; and clinfo utility crashes with segfault. I tested it in Ubuntu 18.04.2, in Ubuntu 19.04 and in Arch Linux. In Ubuntu 19.04 the repo's libraries have the same version as provided in bundled archive. But it was still failing with them (I even tried to place repo's libraries to /opt location, it did not help).

I want to avoid needing of installation of these libdrm packages (libdrm-amdgpu-amdgpu1, libdrm-amdgpu-common, libdrm2-amdgpu) because I am repacking amdgpu-pro for arch linux. Is that possible?

If not, then why do not name these packages and their libraries with -pro prefix?

Ideally, I want it to use libdrm provided by arch linux. In that case I could even repack all other files to the normal system paths instead of placing all to /opt.

List of packages that I still use for Arch are:
libdrm-amdgpu-amdgpu1: provides libdrm_amdgpu.so.1.0.0
libdrm-amdgpu-common: provides amdgpu.ids file that slightly differs from Arch's standard one
libdrm2-amdgpu: provides 91-amdgpu-pro-modeset.rules libdrm.so.2.4.0 libkms.so.1.0.0

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110961

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |110956

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=110956
[Bug 110956] List of 19.20-812932 release mistakes

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110961

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Eric Engestrom <[email protected]> --- Ubuntu packaging issue; this needs to be reported to Ubuntu instead.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 110961] Are provided libdrm packages completely open source?

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110961

Andre Klapper <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Are provoded libdrm         |Are provided libdrm
                   |packages completely open    |packages completely open
                   |source?                     |source?
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 110961] Are provided libdrm packages completely open source?

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110961

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Eric Engestrom <[email protected]> --- TIL AMD does its support via our bugzilla...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 110961] Are provided libdrm packages completely open source?

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110961

--- Comment #3 from Jeremy Newton <[email protected]> --- I believe libdrm is open source with minor patches.

MIT does not require distributing source code, although with that said, I am looking into doing this none the less.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 110961] Are provided libdrm packages completely open source?

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110961

--- Comment #4 from Jeremy Newton <[email protected]> --- Just a quick question Andrew, is there a reason you're trying to use our PRO stack on Arch linux? The open stack is regularly tested by us and should work as-is considering that Arch already provides an up to date version of Mesa.

Do you need the closed source openGL driver specifically?

For our Vulkan, I would recommend porting our open source vulkan driver:
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver

For OpenCL, I would advise porting the ROCm stack:
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Driver
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 110961] Are provided libdrm packages completely open source?

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110961

Jeremy Newton <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |WORKSFORME
             Status|REOPENED                    |RESOLVED

--- Comment #5 from Jeremy Newton <[email protected]> --- I've been informed that the source can be found here:
https://cgit.freedesktop.org/~agd5f/drm/log/?h=amd-19.20

I'm going to close this as resolved

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 110961] Are provided libdrm packages completely open source?

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110961

--- Comment #6 from Andrew Shark <[email protected]> ---
Hi, Jeremy.
The reason I am porting pro stack to arch Linux is that I want to be able to launch Davinci Resolve. It is proprietary software for video editing. It requires pro OpenCL and pro OpenGL. At least for now. I do not know why exactly it crashes with open source OpenGL driver with AMD gpu renderer. Probably version of OpenGL or some extensions.

Is there a chance that open source OpenGL driver for AMD gpu would satisfy Davinci Resolve's requirements?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel